<template>
  <div id="app">
    <HmHeader></HmHeader>
    <HmMain></HmMain>
    <HmFooter></HmFooter>
  </div>
</template>

<script>
// 1.先导入
// 2.再注册
// 3.在使用
import HmHeader from './components/HmHeader.vue'
import HmMain from './components/HmMain.vue'
import HmFooter from './components/HmFooter.vue'
export default {
  // components 注册局部组件
  components: {
    // HmHeader: HmHeader,
    HmHeader,
    HmMain,
    HmFooter
  },
}
</script>

<style>
</style>